klass->redo = gtk_text_buffer_real_redo;
/* Construct */
+ /**
+ * GtkTextBuffer:tag-table: (attributes org.gtk.Property.get=gtk_text_buffer_get_tag_table)
+ *
+ * The GtkTextTagTable for the buffer.
+ */
text_buffer_props[PROP_TAG_TABLE] =
g_param_spec_object ("tag-table",
P_("Tag Table"),
/* Normal properties */
/**
- * GtkTextBuffer:text:
+ * GtkTextBuffer:text: (attributes org.gtk.Property.set=gtk_text_buffer_set_text)
*
* The text content of the buffer.
*
GTK_PARAM_READABLE);
/**
- * GtkTextBuffer:can-undo:
+ * GtkTextBuffer:can-undo: (attributes org.gtk.Property.get=gtk_text_buffer_get_can_undo)
*
* Denotes that the buffer can undo the last applied action.
*/
GTK_PARAM_READABLE);
/**
- * GtkTextBuffer:can-redo:
+ * GtkTextBuffer:can-redo: (attributes org.gtk.Property.get=gtk_text_buffer_get_can_redo)
*
* Denotes that the buffer can reapply the last undone action.
*/
GTK_PARAM_READABLE);
/**
- * GtkTextBuffer:enable-undo:
+ * GtkTextBuffer:enable-undo: (attributes org.gtk.Property.get=gtk_text_buffer_get_enable_undo org.gtk.Property.set=gtk_text_buffer_set_enable_undo)
*
* Denotes if support for undoing and redoing changes to the buffer is allowed.
*/
signals[CHANGED] =
g_signal_new (I_("changed"),
G_OBJECT_CLASS_TYPE (object_class),
- G_SIGNAL_RUN_LAST,
+ G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, changed),
NULL, NULL,
NULL,
signals[MARK_DELETED] =
g_signal_new (I_("mark-deleted"),
G_OBJECT_CLASS_TYPE (object_class),
- G_SIGNAL_RUN_LAST,
+ G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, mark_deleted),
NULL, NULL,
NULL,
case PROP_TEXT:
gtk_text_buffer_set_text (text_buffer,
- g_value_get_string (value), -1);
+ g_value_get_string (value), -1);
break;
default:
}
/**
- * gtk_text_buffer_get_tag_table:
+ * gtk_text_buffer_get_tag_table: (attributes org.gtk.Method.get_property=tag-table)
* @buffer: a `GtkTextBuffer`
*
* Get the `GtkTextTagTable` associated with this buffer.
}
/**
- * gtk_text_buffer_set_text:
+ * gtk_text_buffer_set_text: (attributes org.gtk.Method.set_property=text)
* @buffer: a `GtkTextBuffer`
* @text: UTF-8 text to insert
* @len: length of @text in bytes
}
/**
- * gtk_text_buffer_get_can_undo:
+ * gtk_text_buffer_get_can_undo: (attributes org.gtk.Method.get_property=can-undo)
* @buffer: a `GtkTextBuffer`
*
* Gets whether there is an undoable action in the history.
}
/**
- * gtk_text_buffer_get_can_redo:
+ * gtk_text_buffer_get_can_redo: (attributes org.gtk.Method.get_property=can-redo)
* @buffer: a `GtkTextBuffer`
*
* Gets whether there is a redoable action in the history.
}
/**
- * gtk_text_buffer_get_enable_undo:
+ * gtk_text_buffer_get_enable_undo: (attributes org.gtk.Method.get_property=enable-undo)
* @buffer: a `GtkTextBuffer`
*
* Gets whether the buffer is saving modifications to the buffer
}
/**
- * gtk_text_buffer_set_enable_undo:
+ * gtk_text_buffer_set_enable_undo: (attributes org.gtk.Method.set_property=enable-undo)
* @buffer: a `GtkTextBuffer`
* @enable_undo: %TRUE to enable undo
*